package com.ansion.commonchat.contact.utils;

/**
 * Created by 张文海 on 14-6-26.
 */
public class CocoCode {

	public interface FriendCode {

		int BASE = 0;

		int OK = BASE + 1;

		int FAIL = BASE + 2;

		int EXPIRE = BASE + 3;

		int UPDATEALIAS_ERROR = BASE + 23;

	}

	public interface UserCode {

		int BASE = 000000200;

		int OK = BASE + 37;

		int FAIL = BASE + 38;

		int INVALID_NAME = BASE + 39;

		int INVALID_COCO_ID = BASE + 40;

		int COCO_ID_FORBIDDEN = BASE + 41;

		int COCO_ID_CHANGE_BLOCKED = BASE + 42;

		int COCO_ID_EXISTED = BASE + 43;

		int INVALID_STATUS = BASE + 44;

		int INVALID_PASSWORD = BASE + 45;

		int PASSWORD_NOT_CORRECT = BASE + 46;

		int INVALID_DEVICE_TOKEN = BASE + 47;

		int INVALID_EMAIL = BASE + 48;

		int HAVE_PASSWORD = BASE + 49;

		int NOT_HAVE_PASSWORD = BASE + 50;

		int INVALID_BIRTHDAY = BASE + 51;

		int SEARCH_USER_NOT_EXIST = BASE + 52;

		int INVALID_LENGTH = BASE + 53;

		int CONTAINS_EMOJI = BASE + 54;

		int UID_NOT_MATCH = BASE + 55;


		int CLIENT_VERSION_TOO_LOW = BASE + 100;

		int DESKTOP_VERSION_TOO_LOW = BASE + 101;
	}

	public interface GroupCode {

		int BASE = 0000000300;

		int OK = BASE + 1;

		int FAIL = BASE + 2;

	}

	public interface MiscCode {
		int BASE = 500;
		// 举报用户
		int REPORT_OK = BASE + 1;
		int REPORT_FAIL = BASE + 2;
		// 获取背景列表
		int GETBACKGROUDLIST_OK = BASE + 3;
		int GETBACKGROUDLIST_FAIL = BASE + 4;
		// 上传设置好友消息是否静音
		// 获取静音好友列表
		int GETFRIENDSILENTLIST_OK = BASE + 7;
		int GETFRIENDSILENTLIST_FAIL = BASE + 8;

		int OK = 600;
		int FAIL = 601;
	}

	public interface CheckVersionCode {

		int BASE = 800;

		int CHECKVERSION_OK = BASE + 1;

		int CHECKVERSION_FAIL = BASE + 2;
	}

	public interface LocationCode {

		int BASE = 000001400;

		int OK = BASE + 1;

		int FAIL = BASE + 2;
	}

	public interface SnsCode {

		int BASE = 000001500;

		int OK = BASE + 1;

		int FAIL = BASE + 2;

	}
}
